package com.springcloud.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: ZGS
 * @Date: 2019/5/29 15:11
 * @Description:
 */

@FeignClient(value = "producer",fallback = Void.class)
public interface TestService {

    @RequestMapping(value = "/test/test1",method = RequestMethod.GET)
    String test1();


}
